package com.hs.lin.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author YingFeng Ding
 * @since 2022-06-13
 */
@Data
@TableName("t_dispatch_center")
public class DispatchBean implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 派车单号
     */
    @TableId(value = "dispatch_id")
    @JsonProperty("dispatchId")
    private String dispatchId;

    /**
     * 路线
     */
    @JsonProperty("dispatchRoute")
    private String dispatchRoute;

    /**
     * 创建时间
     */
    @JsonProperty("dispatchCreateTime")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date dispatchCreateTime;

    /**
     * 指派时间
     */
    @JsonProperty("dispatchAppointTime")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date dispatchAppointTime;

    /**
     * 车辆类型
     */
    @JsonProperty("dispatchCarType")
    private String dispatchCarType;

    /**
     * 承运商
     */
    @JsonProperty("dispatchCarCarrier")
    private String dispatchCarCarrier;

    /**
     * 车辆车牌
     */
    @JsonProperty("dispatchCarPlate")
    private String dispatchCarPlate;

    /**
     * 司机
     */
    @JsonProperty("dispatchCarDriver")
    private String dispatchCarDriver;

    /**
     * 节点状态
     */
    private String node;

    /**
     * 客户订单号
     */
    @JsonProperty("dispatchOrderId")
    private String dispatchOrderId;

    /**
     * 订单状态
     */
    @JsonProperty("dispatchOrderStatus")
    private Integer dispatchOrderStatus;

    /**
     * 回单时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date rTime;

    /**
     * 异常单号
     */
    private String exceptionId;

    /**
     * 车辆类型
     */
    private String typeName;

    /**
     * 订单状态
     */
    private Integer tStatus;

}
